package com.idaycrm.leaningmybatis.mapper;

import java.util.List;

import com.idaycrm.leaningmybatis.model.User;

public interface UserMapper {

	public void insert(User user);

	public User findUserById(int userId);
	
	public User findUserByUserAndPass(String user, String password);

	public List<User> findAllUsers();
	
	public User findUserByUserNameAndPassword(String name,String password);
	
}
